﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Model
{
  public class Game : MonoBehaviour
  {
    public Texture2D cursor;

    public static InventoryManager InventoryManager { get; set; }

    private void Awake()
    {
      Game.InventoryManager = this.transform.GetComponent<InventoryManager>();

      Cursor.SetCursor(cursor, Vector2.zero, CursorMode.Auto);

      Game.InventoryManager.LoadInventory();

      DontDestroyOnLoad(this);
    }
  }
}